class AuthenticationVo {

  AuthenticationData? data;

  AuthenticationVo({this.data});

  AuthenticationVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new AuthenticationData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class AuthenticationData {
  int? userId;
  String? realname;
  String? number;
  int? id;

  AuthenticationData({this.userId, this.realname, this.number, this.id});

  AuthenticationData.fromJson(Map<String, dynamic> json) {
    userId = json['user_id'];
    realname = json['realname'];
    number = json['number'];
    id = json['id'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['user_id'] = this.userId;
    data['realname'] = this.realname;
    data['number'] = this.number;
    data['id'] = this.id;
    return data;
  }
}
